package com.wan.service;

import com.wan.pojo.Menu;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public interface MenuService {
    public int addMenu(Menu menu);
    public List<Menu> getMenuList(Map<String,Object> queryMap);
    public List<Menu> findTopList();
    public int getTotal(Map<String, Object> queryMap);
    public int editMenu(Menu menu);
    public int deleteMenu(Long id);
    public List<Menu> findChildernList(Long id);
    public List<Menu> findListByIds(String ids);
}
